<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="referrer" content="never"><!-- 解决防盗链 -->
    <meta name="author" content="RabbitPre - www.stonecas.com">
    <meta name="keywords" content="H5制作工具">
    <meta name="description" content="石子科技">
    <meta itemprop="name" content="石子科技">
    <meta itemprop="description" content="石子科技祝大家新年快乐">
    <meta itemprop="image" content="http://www.stonecas.com/WXH5/img/logo.png">
    <meta name="apple-mobile-web-app-title" content="石子科技">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="email=no">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>石子科技祝大家2021牛年新年快乐</title>
    <style>
        body,html {
            width: 100%;
            height: 100%;
            min-height: 100%;
            margin: 0;
            font-size: 16px
        }

        .e-loading {
            position: absolute;
            z-index: 99;
            visibility: hidden;
            box-sizing: border-box;
            width: 100%;
            height: 100%;
            padding-top: 1.5rem;
            text-align: center;
            background-color: #fff
        }

        .e-loading.active {
            visibility: visible
        }

        .e-loading .logo {
            position: relative;
            overflow: hidden;
            width: .768rem;
            height: .768rem;
            margin: auto;
            background-repeat: no-repeat;
            background-position: center bottom;
            background-size: contain
        }

        .e-loading .progress-container {
            position: relative;
            overflow: hidden;
            width: 1rem;
            height: .034rem;
            margin: .196rem auto;
            border-radius: .017rem;
            background-color: #d8d8d8
        }

        .e-loading .progress-container .progress-bar {
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background-color: #ff6b00
        }

        .e-loading .text {
            position: absolute;
            bottom: .3rem;
            left: 50%;
            -webkit-transform: translate(-50%,0);
            transform: translate(-50%,0);
            color: rgba(1,1,1,.6);
            font-size: .14rem
        }

        .e-loading.fade-out {
            transform: translate3d(0,0,0);
            animation: fadeOut .2s ease;
            animation-fill-mode: forwards
        }

        @keyframes fadeOut {
            0% {
                opacity: 1
            }

            100% {
                opacity: 0
            }
        }

    </style>
    <link rel="shortcut icon" href="img/favicon.ico">
    <link rel="stylesheet" href="css/app.css">
    <link rel="stylesheet" href="css/reload.css">

</head>
<body class="root">

<div class="e-loading">
    <div class="logo logo_bgimg" >
    </div>
    <div class="progress-container">
        <div class="progress-bar"></div>
    </div>
    <div class="text">石子科技祝大家2021牛年新年快乐</div>
</div>
<div class="container" id="container"></div>

<script type="text/javascript" src="scripts/jquery-2.2.2.min.js"></script>
<!--<script type="text/javascript" src="scripts/jquery.cookie.js"></script>-->
<script type="text/javascript" src="scripts/Common.js"></script>
<script type="text/javascript" src="scripts/weixinUtil.js"></script>
<!-- 微信js -->
<script type="text/javascript" src="http://res2.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<!-- 请求动作 -->
<script type="text/javascript" src="scripts/newyear.js"></script>
<script type="text/javascript">
    var RPCONFIG = {
    "xtzHosts": ["http://a1.rabbitpre.com", "http://a2.rabbitpre.com", "http://a3.rabbitpre.com", "http://a4.rabbitpre.com", "http://a5.rabbitpre.com", "http://a6.rabbitpre.com", "http://a7.rabbitpre.com", "http://a8.rabbitpre.com", "http://a9.rabbitpre.com"],
    "vipHosts": ["https://v1.rabbitpre.com", "https://v2.rabbitpre.com", "https://v3.rabbitpre.com", "https://v8.rabbitpre.com", "https://v4.rabbitpre.com", "https://v5.rabbitpre.com", "https://s1.rabbitpre.com", "https://s2.rabbitpre.com"],
    "dangerHosts": ["https://t1.rabbitpre.com", "https://t2.rabbitpre.com", "https://t3.rabbitpre.com", "https://t4.rabbitpre.com", "https://t5.rabbitpre.com", "https://t6.rabbitpre.com", "https://t7.rabbitpre.com", "https://t8.rabbitpre.com", "https://t9.rabbitpre.com"],
    "RUNTIME_ENV": "prod",
    "tencentCloudOpfid": "97619094765792381947",
    "cdnPrefix": "//oss3.rabbitpre.com/rp/renderer",
    "mainHost": "//www.rabbitpre.com",
    "bwsHost": "//bws.rabbitpre.com",
    "compression": {"dpr": 1.5, "quality": 70},
    "sdk": {
        "xiaotuzhan": "//ad.cdn.xiaotuzhan.com/js/ad_sdk_prod.js?v=1.0",
        "fibo": "//res.fibodata.com/data/fibosdk.min.js?v=2.0",
        "demo": "//demo.rabbitpre.com/sdk.js?v=1.0",
        "invite": "//kwres.killerwhale.cn/mkcloudsdk/js/inviteaward.js?v=1.0",
        "employee_card": "https://oss.szzbmy.com/rp/employee-card-sdk/release/employee-card-sdk-1.0.1.min.js"
    }
}</script>
<script type="text/javascript" defer="defer" async>
    var WECHAT_AUTH_URL = decodeURIComponent("");
    document.addEventListener("DOMContentLoaded",
        function(e) {
            WECHAT_AUTH_URL && (location.href = WECHAT_AUTH_URL)
        })
</script>
<script type="text/javascript">!function () {
    !function(){var a= {"id":"b783025f-9872-413d-9c42-6a735ea6018d","level":"0","imgPath":"//p-cdn4.rabbitpre.com/68a59fc7-a919-4164-b5d8-b1225b1ee116","logoPath":"//file.rabbitpre.com/logo.png","viewLimit":{"enable":0,"viewTimeLimit":{"enable":0,"startTime":"","endTime":""},"peopleLimit":{"limitWay":1,"blackWhite":{"checkField":"","ossPath":"","data":[],"fileName":""},"user":{"option":"tag","data":[]}},"partakeUserArea":{"selectWay":-1,"selectCities":[]}},"independentTitle":"石子科技祝大家2021牛年新年快乐","dubiousFlag":false,"isXtzUser":false,"xtzDomain":["http://a1.rabbitpre.com","http://a2.rabbitpre.com","http://a3.rabbitpre.com","http://a4.rabbitpre.com","http://a5.rabbitpre.com","http://a6.rabbitpre.com","http://a7.rabbitpre.com","http://a8.rabbitpre.com","http://a9.rabbitpre.com"],"xtzWsId":null,"clickDynamicParams":false,"name":"石子科技祝大家2021牛年新年快乐","desc":"心想事成,万事如意!","ossUrl":"//r2-pcdn1.rabbitpre.com/app_cache/aUe1ZjYM8r.20210210145935.js","renderType":"h5"};window.pageData=function(){var a={};for(var n in arguments)for(var r in arguments[n])a[r]=arguments[n][r];return a}(window.pageStaticData,a),window.pageData.renderType||(window.pageData.renderType="")}()
}()</script>
<script type="text/javascript">
    var _hmt = window._hmt || [];
    !function () {
        var e = document.createElement("script"), t = document.getElementsByTagName("script")[0];
        e.type = "text/javascript", e.async = !0, e.src = "https://hm.baidu.com/hm.js?9ad3eedcbfcad678357018dda8c8c602", t.parentNode.insertBefore(e, t)
    }();
    $(function() {
        let weixinUrl=authorize();
        let openid=getHtmlParameter("openid");
        if(NINVL(openid)!=""){
            // 请求得到头像
            var url=localStorage.serverUrl+"/WeixinAPI/userInfoWithOpenid";
            var postdata={
                "openid":openid
            };
            asynUrl_2(url, postdata, function(result) {
                let avatarurl=result.avatarurl;
                let name=result.name;
                window.setInterval(function(){
                    if(NINVL(name)!=""){
                        $(".wxnickname").html(name);
                    }
                    if(NINVL(avatarurl)!=""){
                        $("img[src='//p-cdn1.rabbitpre.com/a80f10be-02f2-454f-b12e-8016b27ebf47?imageMogr2/auto-orient|imageMogr2/thumbnail/176x176|imageMogr2/cut/176x176x0x0/format/webp']").attr('src',avatarurl);
                    }
                },500);
            });

            initWX(function(){
                wx.ready(function () {
                    var title="石子科技祝大家2021牛年新年快乐";
                    var desc="祝大家新年快乐,心想事成,万事如意!";
                    var link=weixinUrl;
                    var imgUrl="http://www.stonecas.com/WXH5/img/logo.png";
                    ready_wx(title,desc,link,imgUrl);
                });
            });
        }else {
            window.location.replace(weixinUrl);
        }
    });

    /**
     * 授权
     */
    function authorize(){
        let url=localStorage.serverIp+'/giteeh5/NewYear.html';
        var redirect_uri=encodeURI(localStorage.serverUrl+"/WeixinAPI/wxUserInfo?response_type=code&scope=snsapi_userinfo&state="+url);
        var weixinUrl='https://open.weixin.qq.com/connect/oauth2/authorize?appid='+localStorage.appid+'&redirect_uri='+redirect_uri+'#wechat_redirect';
        return weixinUrl;
    }
</script>
<script type="text/javascript" src="//oss3.rabbitpre.com/rp/renderer/manifest.dafcaf7d60.js"></script>
<script type="text/javascript" src="//oss3.rabbitpre.com/rp/renderer/prepare.b9ede8371e.js"></script>
<script type="text/javascript" src="//oss3.rabbitpre.com/rp/renderer/app.5590116e93.js"></script>
</body>
</html>